Fix sorting in FindAll
Fix select statement order and limit clause order