In order to find out the ranking of ions basicity, check the pKa values of each ions. The principle that you need to remember is that the stronger the acid the weaker the corresponding conjugate base. The pKa dictates acid value of the compound. The answer would be CH3NH, CH3O-, and CH3CH2-.