Actually sort group list :P
Actually implement log and natural log