Sort functionality

closes #276 
Since they're specific numbers, I would put this in a `def` as a constant.