added ORDER BY to select method