Edit sorting / Add prototypes