Wells Fargo interview question

how to use SQL for data sorting?