grab and sort