Correct document field

The result of the `$group` operation is the document with `_id` and `average` keys. Therefore, the `$sort` operation should be realized on the `average` and not the `amount` field.