In most pokedexes, legendary pokemon are listed last.
Example
In gen 1, mewtwo and mew are last.
However, there're some non legendary pokemon that appear amongst the legendarys.
In gen 1 dratini and it's evolutions appears between moltres and mewtwo. In gen 2, larvitar and it's evolutions appear between Suicune and lugia. Why?