diff --git a/bikeshop_project/assets/js/components/SignedInList.jsx b/bikeshop_project/assets/js/components/SignedInList.jsx index e0b86b4..5ff730c 100644 --- a/bikeshop_project/assets/js/components/SignedInList.jsx +++ b/bikeshop_project/assets/js/components/SignedInList.jsx @@ -23,8 +23,12 @@ export default class SignedInList extends React.Component { } render () { - let members = this.props.members.map((member) => { - return + const members = this.props.members.sort((l, r) => { + return l.at.diff(r.at); + }) + .reverse() + .map((member) => { + return }); return (