if you want to select the last five records from a table that is sorted using -
ORDER BY username ASC
it would be the same as selecting the first five when the results are ordered by -
ORDER BY username DESC
LIMIT 5
If you cannot see what I mean by this if you post your query I will explain using your query as an example.
Hope this helps 😉