Alkynes are acidic because they can release hydrogen atoms to form alkylide ions, because the hydrogen is attached more electronegative sp hybridised carbon. After that alkenes are more acidc than alkanes due to the presence of sp2 carbon atom in alkenes. Among the two alkanes acidic nature order is decided by the inductive effect. Methyl groups are electron releasing groups, hence they decrease the acidic nature. Hence, the overall order is

Stability of conjugate base ∝ acidic strength
C<D<B<A
