added basic sorting explanation