Add asceding/descending order capability.
Fix comment.
Add comments.